package com.atwork.wuhua.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.atwork.wuhua.R;
import com.atwork.wuhua.bean.CommentBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

public class PostDetailAdapter extends BaseQuickAdapter<CommentBean, BaseViewHolder> {
    private Context context;

    public PostDetailAdapter(Context context, int layoutResId, @Nullable List<CommentBean> data) {
        super(layoutResId, data);
        this.context = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, CommentBean item) {
        helper.addOnClickListener(R.id.img_thumb).addOnClickListener(R.id.tv_content);
    }
}
